package com.microservice.base.mapper.hikcommon;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author jbx
 * @package_name com.microservice.base.task
 * @create_date 2020/12/3 14:44
 */
public interface CommonMP {
    List<Map<String, Object>> executeSql(@Param("sql") String sql);

    Map<String, Object> executeSqlForMap(@Param("sql") String getMaxDateSql);

    void deleteSql(@Param("sql") String delSql);

    void saveCommon(@Param("sql") String endSql);

    int getCountSql(@Param("sql") String sql);

}
